package iorder

/**
 *
 * @author Mikael
 */

class Product {
    
    String name
    String photoUrl
    Double price
    String description
    Integer manyStamps
    Date toDelivery
    Date created = new Date()
    Vendor business
	
    static constraints = { 
        name(nullable:false)
        photoUrl(nullable:true)
        price(nullable:false)
        description(nullable:true)
        toDelivery(nullable:true)
        created(nullable:true)
    }
}

